// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.


import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App'
import router from './router'
import axios from 'axios'
import baseConfig from '../config/baseConfig'

Vue.use(baseConfig)
Vue.use(ElementUI);
Vue.prototype.$axios = axios
Vue.config.productionTip = false
Vue.prototype.$apiUrl = "https://localhost:7145/api/SysManage/GetMenuManage";


//引入百度地图
import BaiduMap from 'vue-baidu-map'
Vue.use(BaiduMap, {
  ak: 'k7gO3kr5FnV7T1gOC9300un50RX7G7SM'
});

// 引入Echarts
import echarts from "echarts"
Vue.prototype.$echarts = echarts

//全局引入vuex
import store from './store';

/* eslint-disable no-new */
new Vue({
  el: '#app',
  axios,
  router,store,
  components: {
    App
  },
  template: '<App/>'
})
